using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;

namespace NP.BPMReportPlatform.Entities.BPM_Business
{
    public class YCLWLJGZSYCChildData : BaseLine
    {
        /// <summary>
        /// 添加时间
        /// </summary>
        [JsonProperty(PropertyName = "CreateTime")]
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 单号申请时间
        /// </summary>
        [JsonProperty(PropertyName = "AddTime")]
        public DateTime AddTime { get; set; }

        /// <summary>
        /// 年月:202201 2023Q3 2023H1
        /// </summary>
        [JsonProperty(PropertyName = "MONTH_ID")]
        public string MONTH_ID { get; set; }

        /// <summary>
        /// 事业群:IU/TU
        /// </summary>
        [JsonProperty(PropertyName = "DEPT")]
        public string DEPT { get; set; }

        /// <summary>
        /// 物料一级分类ID
        /// </summary>
        [JsonProperty(PropertyName = "CATEGORY_ID")]
        public string CATEGORY_ID { get; set; }

        /// <summary>
        /// 物料一级分类描述
        /// </summary>
        [JsonProperty(PropertyName = "CATEGORY")]
        public string CATEGORY { get; set; }

        /// <summary>
        /// 物料二级分类ID
        /// </summary>
        [JsonProperty(PropertyName = "SUB_CATEGORY_ID")]
        public string SUB_CATEGORY_ID { get; set; }

        /// <summary>
        /// 物料二级分类描述
        /// </summary>
        [JsonProperty(PropertyName = "SUB_CATEGORY")]
        public string SUB_CATEGORY { get; set; }

        /// <summary>
        /// 物料三级分类ID
        /// </summary>
        [JsonProperty(PropertyName = "CHILD_CATEGORY_ID")]
        public string CHILD_CATEGORY_ID { get; set; }

        /// <summary>
        /// 物料三级分类描述
        /// </summary>
        [JsonProperty(PropertyName = "CHILD_CATEGORY")]
        public string CHILD_CATEGORY { get; set; }

        /// <summary>
        /// 大类负责人ID
        /// </summary>
        [JsonProperty(PropertyName = "CATEGORY_MANAGER_CODE")]
        public string CATEGORY_MANAGER_CODE { get; set; }

        /// <summary>
        /// 大类负责人名称
        /// </summary>
        [JsonProperty(PropertyName = "CATEGORY_MANAGER")]
        public string CATEGORY_MANAGER { get; set; }

        /// <summary>
        /// 去年总消耗金额
        /// </summary>
        [JsonProperty(PropertyName = "GMV")]
        public decimal? GMV { get; set; }

        /// <summary>
        /// 大类占比
        /// </summary>
        [JsonProperty(PropertyName = "CATEGORY_RATIO")]
        public decimal? CATEGORY_RATIO { get; set; }

        /// <summary>
        /// 事业群占比
        /// </summary>
        [JsonProperty(PropertyName = "TOTAL_RATIO")]
        public decimal? TOTAL_RATIO { get; set; }

        /// <summary>
        /// 占比 用户填的数据 对应YCLWLJGZSYCDetail表的num1 num2
        /// </summary>
        [JsonProperty(PropertyName = "RATIO")]
        public decimal? RATIO { get; set; }

        /// <summary>
        /// 开始时间,对应MONTH_ID的时间范围
        /// </summary>
        [JsonProperty(PropertyName = "StartTime")]
        public DateTime? StartTime { get; set; }

        /// <summary>
        /// 结束时间,对应MONTH_ID的时间范围
        /// </summary>
        [JsonProperty(PropertyName = "EndTime")]
        public DateTime? EndTime { get; set; }

        /// <summary>
        /// 维护类型：1按月维护 2按季维护 3半年 4按半年维护，实际按月 5按一年维护，实际按月 6按三年维护，年内按月，明年开始按季度
        /// </summary>
        [JsonProperty(PropertyName = "MaintenanceType")]
        public int MaintenanceType { get; set; }

        /// <summary>
        /// 前3月
        /// </summary>
        [JsonProperty(PropertyName = "pre_num3")]
        public decimal? pre_num3 { get; set; }
        /// <summary>
        /// 前2月
        /// </summary>
        [JsonProperty(PropertyName = "pre_num2")]
        public decimal? pre_num2 { get; set; }
        /// <summary>
        /// 前1月
        /// </summary>
        [JsonProperty(PropertyName = "pre_num1")]
        public decimal? pre_num1 { get; set; }

        /// <summary>
        /// 原材料/包材
        /// </summary>
        [JsonProperty(PropertyName = "MaterialType")]
        public string MaterialType { get; set; }
    }
}
